package com.example.demo.utils.enu;

public enum UserRoleEnum {
    admin("1", "管理员"),
    headTeacher("2", "班主任"),
    teacher("3", "教师"),
    student("4", "学生"),
    guest("-1", "游客");

    private UserRoleEnum(String value, String desc) {
        this.setValue(value);
        this.setDesc(desc);
    }

    private String value;
    private String desc;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
